package com.ndp.fb.mq.service.schedulerservice.thirdpictureaudit;

import com.ndp.fb.config.ConfigCentre;
import com.ndp.fb.constant.ConfigConst;
import com.ndp.fb.util.StringUtil;

/**
 * Created by 15129 on 2015/10/22.
 */
public class AutoCheckConstant {


    /**
     * 获取固定fbAccountid
     * @return
     */
    public static Long getFbAccountId()
    {
        return ConfigCentre.getLong(ConfigConst.THIRDPIC_REVIEW_FBACCOUNT).equals(0L)? 712543438822018L : ConfigCentre.getLong(ConfigConst.THIRDPIC_REVIEW_FBACCOUNT);
    }

    public static String getPageId()
    {
        return StringUtil.isEmpty(ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_PAGE))? "302758299825764" : ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_PAGE);
    }

    public static String getApplication()
    {
        return StringUtil.isEmpty(ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_APPLICATION))? "1482255072046820" : ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_APPLICATION);
    }

    public static String getApplicationUrl()
    {
        return StringUtil.isEmpty(ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_APPLICATION_URL))? "https://itunes.apple.com/app/id922476659" : ConfigCentre.getString(ConfigConst.THIRDPIC_REVIEW_APPLICATION_URL);
    }
    public static String getAdStatusName()
    {
        return "effective_status";
    }
    public static String getAdReviewFeedbackName()
    {
        return "ad_review_feedback";
    }




}
